package com.hulk.ratel.persistence.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.hulk.ratel.persistence.entity.SuperEntity;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hulk
 * @since 2018-12-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_partner_info")
public class PartnerInfo extends SuperEntity {

    private static final long serialVersionUID = 1L;

    @TableField("partner_no")
    private String partnerNo;

    /**
     * REALITY-商户真实的
            VIRTUAL-商户虚拟的
            BOTH-两者都包括
     */
    @TableField("partner_type")
    private String partnerType;

    @TableField("partner_name")
    private String partnerName;

    /**
     * 01-1级
            02-2级
     */
    @TableField("partner_grade")
    private String partnerGrade;

    @TableField("partner_intro")
    private String partnerIntro;

    /**
     * XML
            JSON
     */
    @TableField("serialization_mode")
    private String serializationMode;

    /**
     * 00 未启用
            01 启用
            02 停用
            05 注销
     */
    @TableField("status")
    private String status;

    @TableField("group_code")
    private String groupCode;

    /**
     * T0-当日
            T1-隔日
     */
    @TableField("arrive_mode")
    private String arriveMode;

    /**
     * DIRECT-直清
            SECOND-二清
     */
    @TableField("clearing_mode")
    private String clearingMode;

    /**
     * PARTNER-以合作者的范围进行统一标准分润
            MERCHANT-以合作者下的每个商户不同的标准分润
     */
    @TableField("share_mode")
    private String shareMode;

    @TableField("contact_name")
    private String contactName;

    @TableField("contact_mobile")
    private String contactMobile;

    @TableField("contact_phone")
    private String contactPhone;

    @TableField("contact_fax")
    private String contactFax;

    @TableField("contact_email")
    private String contactEmail;

    @TableField("f_linkman_name")
    private String fLinkmanName;

    @TableField("f_linkman_phone")
    private String fLinkmanPhone;

    @TableField("f_linkman_fax")
    private String fLinkmanFax;

    @TableField("f_linkman_email")
    private String fLinkmanEmail;

    @TableField("remark")
    private String remark;

    @TableField("start_date")
    private LocalDate startDate;

    @TableField("expiry_date")
    private LocalDate expiryDate;

    @TableField("created_by")
    private String createdBy;

    @TableField("created_time")
    private LocalDate createdTime;

    @TableField("audited_time")
    private LocalDate auditedTime;

    /**
     * N-未审核
            Y-已审核
            U-已修改
     */
    @TableField("audited_flag")
    private String auditedFlag;

    @TableField("audited_by")
    private String auditedBy;

    @TableField("updated_by")
    private String updatedBy;



    @TableField("archived_time")
    private LocalDate archivedTime;

    /**
     * N-未归档
            Y-已归档
     */
    @TableField("archived_flag")
    private String archivedFlag;

    @TableField("ori_id")
    private String oriId;



    @TableField("rsv1")
    private String rsv1;

    @TableField("rsv2")
    private String rsv2;

    @TableField("rsv3")
    private String rsv3;


    public static final String PARTNER_NO = "partner_no";

    public static final String PARTNER_TYPE = "partner_type";

    public static final String PARTNER_NAME = "partner_name";

    public static final String PARTNER_GRADE = "partner_grade";

    public static final String PARTNER_INTRO = "partner_intro";

    public static final String SERIALIZATION_MODE = "serialization_mode";

    public static final String STATUS = "status";

    public static final String GROUP_CODE = "group_code";

    public static final String ARRIVE_MODE = "arrive_mode";

    public static final String CLEARING_MODE = "clearing_mode";

    public static final String SHARE_MODE = "share_mode";

    public static final String CONTACT_NAME = "contact_name";

    public static final String CONTACT_MOBILE = "contact_mobile";

    public static final String CONTACT_PHONE = "contact_phone";

    public static final String CONTACT_FAX = "contact_fax";

    public static final String CONTACT_EMAIL = "contact_email";

    public static final String F_LINKMAN_NAME = "f_linkman_name";

    public static final String F_LINKMAN_PHONE = "f_linkman_phone";

    public static final String F_LINKMAN_FAX = "f_linkman_fax";

    public static final String F_LINKMAN_EMAIL = "f_linkman_email";

    public static final String REMARK = "remark";

    public static final String START_DATE = "start_date";

    public static final String EXPIRY_DATE = "expiry_date";

    public static final String CREATED_BY = "created_by";

    public static final String CREATED_TIME = "created_time";

    public static final String AUDITED_TIME = "audited_time";

    public static final String AUDITED_FLAG = "audited_flag";

    public static final String AUDITED_BY = "audited_by";

    public static final String UPDATED_BY = "updated_by";

    public static final String UPDATED_TIME = "updated_time";

    public static final String ARCHIVED_TIME = "archived_time";

    public static final String ARCHIVED_FLAG = "archived_flag";

    public static final String ORI_ID = "ori_id";

    public static final String TENANT_ID = "tenant_id";

    public static final String LOCK_VERSION = "lock_version";

    public static final String RSV1 = "rsv1";

    public static final String RSV2 = "rsv2";

    public static final String RSV3 = "rsv3";

}
